﻿using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using Ext.Net;
using System.Collections.Generic;

namespace Sio.Mdm.Web
{
    public partial class Content : Controls.Page
    {
        protected override void OnLoad(EventArgs e)
        {
            if (!ExtNet.IsAjaxRequest)
            {
                // Load pages based on user profile
                LoadPages();
            }

            base.OnLoad(e);
        }

        private void LoadPages()
        {
            TabNavigation.Urls.Add("~/idm/Roles.aspx");
            TabNavigation.Urls.Add("~/idm/Parent.aspx");
            TabNavigation.Urls.Add("~/idm/Child.aspx");
        }
    }
}
